Data Retrieval and Aggregates in SQL*/NR

نویسندگان

  • Yiu-Kai Ng
  • Nael Qaraeen
چکیده

Standard SQL is incapable of handling recursive database queries and nested relations. A proposed solution to allow recursion in SQL was given in SQL KC93], while a solution to allow nested relations in SQL was given in SQL=NF RKB87]. However, these two problems with SQL were handled separately, and an extended SQL that handles both recursive queries and nested relations is still lacking. To overcome this shortcoming, we propose an extended SQL, called SQL =NR, that not only can handle both recursive queries and nested relations, but also allows aggregate operators. A query Q in SQL =NR is processed by rst transforming Q into rule expressions in LDL=NR, a logic database language for nested relations, and the transformed rule expressions are evaluated for retrieving the desired result of Q. Transforming Q into rule expressions in LDL=NR is desirable since LDL=NR handles recursion on nested relations with a built-in mechanism for recursive query processing. In this paper, we deene SQL =NR and include an approach for transforming SQL =NR queries into rule expressions in LDL=NR. SQL =NR, as deened, enhances the expressive power of standard SQL and SQL=NF and has the expressive advantage over SQL .

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Probabilistic Logical Modelling of the Binary Independence Retrieval Model

The binary independence retrieval (BIR) model is a main pillar of information retrieval (IR); recently, the model even attracted the attention of database research on ranking tuples for SQL queries. One of the problems with the BIR model is that though it is referred to as a probabilistic model, the retrieval status value actually lacks a probabilistic interpretation since the BIR model is base...

متن کامل

Data Retrieval over DNS in SQL Injection Attacks

This paper describes an advanced SQL injection technique where DNS resolution process is exploited for retrieval of malicious SQL query results. Resulting DNS requests are intercepted by attackers themselves at the controlled remote name server extracting valuable data. Open source SQL injection tool sqlmap [1] has been adjusted to automate this task. With modifications done, attackers are able...

متن کامل

User Defined Aggregates in Object-Relational Systems

User-defined aggregates are essential in many advanced database applications, particularly in expressing data mining functions, but they find little support in current systems including Object-Relational databases. Three serious limitations of current systems are (i) the inability of introducing new aggregates (e.g., by coding them in procedural language as originally proposed in SQL3), (ii) th...

متن کامل

User - De ned Aggregates for DataminingHaixun

User-deened aggregates can be the linchpin of sophisticated datamining functions and other advanced database applications. This is demonstrated by our eecient implementation on DB2 of SQL3 user-deened aggregates extended with early returns, which we have used to implement several data mining algorithms. Aggregates with early returns are monotonic and can thus be used freely in recursive queries.

متن کامل

O-10: Assessment of Oocyte and Embryo Quality in Different Time between Oocyte Retrieval and hCG Priming

Background: Abnormal oocyte morphology has been associated with the hormonal environment to which the gametes are exposed. In this study, we evaluated the oocytes morphology, fertilization rate, embryos quality, and implantation rate resulted of retrieved oocytes in different times after human chorionic gonadotrophin (hCG) administration. Materials and Methods: A total of 985 metaphase II were ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995